package test2_annonation.impl;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.PropertySource;


//相当于指定了这个类作为配置类
@Configuration
//bean所在的包，要扫描指定包，生成bean对象
@ComponentScan(value = {"test2_annonation.impl","test2_annonation.aop"})
//引入配置文件
@PropertySource("test2.properties")
//开启注解模式aop功能
@EnableAspectJAutoProxy
public class SpringConfig {
}
